<template>
  <div>
    <Header/>
    <router-view></router-view>
    <Footer v-show="!this.$route.meta.isFooterHidden"/>
  </div>
</template>

<script>
import Header from "@comp/Header"
import Footer from "@comp/Footer"
import { mapActions } from "vuex";
export default {
  name: "App",
  components:{
    Header,
    Footer,
  },

  mounted() {
    //请求三级列表
    this.getCateGoryList();
  },

  methods: {
    //请求三级列表
    ...mapActions("home", ["getCateGoryList"]),
  },
}
</script>

<style>

</style>